﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;

namespace GArphics
{
    public class RenderData
    {
        private Tree oTree;
        private Size oSize;
        private Bitmap oImage;
        private bool bCalculateFitness;
        private int iID;
    
        public Tree Tree
        {
            get
            {
                return oTree;
            }
            set
            {
                oTree = value;
            }
        }

        public Size Size
        {
            get
            {
                return oSize;
            }
            set
            {
                oSize = value;
            }
        }

        public Bitmap Image
        {
            get
            {
                return oImage;
            }
            set
            {
                oImage = value;
            }
        }

        public bool CalculateFitness
        {
            get
            {
                return bCalculateFitness;
            }
            set
            {
                bCalculateFitness = value;
            }
        }

        public int ID
        {
            get
            {
                return iID;
            }
            set
            {
                iID = value;
            }
        }

        public RenderData(Tree Tree, Size Size, int ID)
        {
            oTree = Tree;
            oSize = Size;
            iID = ID;
        }
    }
}
